package com.fzkj.shejimoshi.adapter1;

import com.fzkj.shejimoshi.adapter1.adapter.NetAdapter;
import com.fzkj.shejimoshi.adapter1.compter.Compter;
import com.fzkj.shejimoshi.adapter1.netwire.NetWire;

/**
 * @DESCRIPTION: TODO
 * @AUTHOR: AnotherOne
 * @DATE: 2021/8/13 14:29
 */
public class Test {

    public static void main(String[] args) {
        Compter compter = new Compter();
        /** 电脑接入扩展坞 */
        NetAdapter adapter = new NetAdapter(new NetWire());
        compter.net(adapter);
    }

}
